package cate.game.role.res.farm.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBFarms;

@ClientMsg(title = "农场数据请求")
public class FarmsDataReq implements MsgInput {
    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.getRole().getRes().farm.noticeUpdate();
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBFarms.DATA_REQ;
    }
}
